// POST

import request from '@/api/request'

/**
 *
 * 查询用户
 * @param {*} start
 * @param {*} limit
 * @param {*} data
 * @returns
 */
export function findUsersByPage(start, limit, data) {
  return request({
    url: `/admin/sysAuth/user/findUsersByPage/${start}/${limit}`,
    method: 'POST',
    data
  })
}

/**
 *
 * 删除用户
 * @param {*} id
 * @returns
 */
export function removeUser(id) {
  return request({
    url: `/admin/sysAuth/user/removeUser/${id}`,
    method: 'delete'
  })
}
